<?php
Route::group([
	'prefix' => 'sign',
	'namespace' => 'Sign'
], function () {
	Route::group([
		'prefix' => 'signs',
	], function () {
		// 签到管理列表
		Route::get('/', 'SignsController@index')->name('admin.sign.signs');
		// 签到规则
		Route::get('/add', 'SignsController@add')->name('admin.sign.signs.add');
		Route::get('/invite', 'SignsController@invite')->name('admin.sign.signs.invite');
		// 编辑用户
		Route::get('/edit/{id}', 'SignsController@edit')->name('admin.sign.signs.edit');
        Route::post('/save_invite', 'SignsController@save_invite')->name('admin.sign.signs.invite_save');

	});

    Route::group([
        'prefix' => 'signRule',
    ], function () {
        // 保存签到规则信息
        Route::post('/save', 'SignRuleController@save')->name('admin.sign.signs.save');

    });
});